package com.example.blade.util.shell

import com.blankj.utilcode.util.ToastUtils
import com.jaredrummler.android.shell.Shell

class MyShell {
    fun shell(string: String) {
        if (string == "") {
            if (Shell.SU.run(string).isSuccessful) {
                nico.styTool.Utils.setToast("执行完毕,真是太鸡你太美了")
            } else {
                nico.styTool.Utils.setToast("执行失败,也许未有权限")
            }
        }
    }
}